# -*- coding: utf-8 -*-

################################################################################
## Form generated from reading UI file 'history.ui'
##
## Created by: Qt User Interface Compiler version 6.9.1
##
## WARNING! All changes made in this file will be lost when recompiling UI file!
################################################################################

from PySide6.QtCore import (QCoreApplication, QDate, QDateTime, QLocale,
    QMetaObject, QObject, QPoint, QRect,
    QSize, QTime, QUrl, Qt)
from PySide6.QtGui import (QBrush, QColor, QConicalGradient, QCursor,
    QFont, QFontDatabase, QGradient, QIcon,
    QImage, QKeySequence, QLinearGradient, QPainter,
    QPalette, QPixmap, QRadialGradient, QTransform)
from PySide6.QtWidgets import (QAbstractItemView, QApplication, QComboBox, QDockWidget,
    QHBoxLayout, QHeaderView, QLabel, QLineEdit,
    QMainWindow, QPushButton, QSizePolicy, QSpacerItem,
    QTableWidget, QTableWidgetItem, QVBoxLayout, QWidget)
import resouce_rc

class Ui_history(object):
    def setupUi(self, history):
        if not history.objectName():
            history.setObjectName(u"history")
        history.resize(800, 600)
        icon = QIcon()
        icon.addFile(u":/img/logo.png", QSize(), QIcon.Mode.Normal, QIcon.State.Off)
        history.setWindowIcon(icon)
        history.setStyleSheet(u"QMainWindow {\n"
"    background: qlineargradient(x1:0, y1:0, x2:1, y2:1, \n"
"        stop:0 #0f0f23, \n"
"        stop:0.3 #1a1a2e, \n"
"        stop:0.6 #16213e, \n"
"        stop:1 #0f3460); \n"
"    border-radius: 0px; \n"
"    border: 0px solid qlineargradient(x1:0, y1:0, x2:1, y2:1, \n"
"        stop:0 #00d4ff, \n"
"        stop:0.5 #0099cc, \n"
"        stop:1 #0066ff); \n"
"}\n"
"\n"
"QWidget#centralWidget {\n"
"    background: transparent;\n"
"    border-radius: 0px;\n"
"}\n"
"\n"
"QDockWidget {\n"
"    background: transparent;\n"
"    border: none;\n"
"    titlebar-close-icon: none;\n"
"    titlebar-normal-icon: none;\n"
"}\n"
"\n"
"QDockWidget::title {\n"
"    background: transparent;\n"
"    border: none;\n"
"    padding: 0px;\n"
"    margin: 0px;\n"
"}\n"
"\n"
"QLabel {\n"
"    color: white;\n"
"    background: transparent;\n"
"}\n"
"\n"
"QTableWidget {\n"
"    background-color: rgba(255, 255, 255, 0.1);\n"
"    border: 1px solid rgba(255, 255, 255, 0.3);\n"
"    border-radius: 8px;\n"
"    color"
                        ": white;\n"
"    gridline-color: rgba(255, 255, 255, 0.2);\n"
"    selection-background-color: rgba(76, 161, 175, 0.3);\n"
"    font-size: 12px;\n"
"}\n"
"\n"
"QTableWidget::item {\n"
"    padding: 8px;\n"
"    border-bottom: 1px solid rgba(255, 255, 255, 0.1);\n"
"}\n"
"\n"
"QTableWidget::item:selected {\n"
"    background-color: rgba(76, 161, 175, 0.4);\n"
"    color: white;\n"
"}\n"
"\n"
"QTableWidget::item:hover {\n"
"    background-color: rgba(255, 255, 255, 0.1);\n"
"}\n"
"\n"
"QHeaderView::section {\n"
"    background-color: rgba(76, 161, 175, 0.8);\n"
"    color: white;\n"
"    padding: 10px;\n"
"    border: none;\n"
"    font-weight: bold;\n"
"    font-size: 13px;\n"
"}\n"
"\n"
"QHeaderView::section:hover {\n"
"    background-color: rgba(76, 161, 175, 1.0);\n"
"}\n"
"\n"
"QPushButton {\n"
"    background-color: #4ca1af;\n"
"    border: 1px solid #4ca1af;\n"
"    border-radius: 6px;\n"
"    color: white;\n"
"    font-size: 12px;\n"
"    font-weight: bold;\n"
"    padding: 8px 16px;\n"
"    min-height: "
                        "20px;\n"
"}\n"
"\n"
"QPushButton:hover {\n"
"    background-color: #357f89;\n"
"    border: 1px solid #357f89;\n"
"}\n"
"\n"
"QPushButton:pressed {\n"
"    background-color: #2a6670;\n"
"}\n"
"\n"
"QLineEdit {\n"
"    background-color: rgba(255, 255, 255, 0.1);\n"
"    border: 1px solid rgba(255, 255, 255, 0.3);\n"
"    border-radius: 5px;\n"
"    padding: 8px;\n"
"    color: white;\n"
"    font-size: 12px;\n"
"}\n"
"\n"
"QLineEdit:focus {\n"
"    border: 1px solid rgba(255, 255, 255, 0.5);\n"
"    background-color: rgba(255, 255, 255, 0.15);\n"
"}\n"
"\n"
"QComboBox {\n"
"    background-color: rgba(255, 255, 255, 0.1);\n"
"    border: 1px solid rgba(255, 255, 255, 0.3);\n"
"    border-radius: 5px;\n"
"    padding: 6px;\n"
"    color: white;\n"
"    font-size: 12px;\n"
"    min-height: 20px;\n"
"}\n"
"\n"
"QComboBox {\n"
"    background-color: #191c32;\n"
"    border: 1px solid rgba(255, 255, 255, 0.3);\n"
"    border-radius: 5px;\n"
"    padding: 5px;\n"
"    color: white;\n"
"    font-size: 20px;\n"
"    sel"
                        "ection-background-color: #0f3460;\n"
"}\n"
"\n"
"QComboBox:hover {\n"
"    background-color:#191c32;\n"
"}\n"
"\n"
"QComboBox:focus {\n"
"    border: 1px solid rgba(255, 255, 255, 0.5);\n"
"}\n"
"\n"
"QComboBox QAbstractItemView {\n"
"    background-color: #191c32;\n"
"    color: white;\n"
"    selection-background-color: #0f3460;\n"
"    border: 1px solid rgba(255, 255, 255, 0.3);\n"
"    outline: none;\n"
"}\n"
"")
        history.setDockOptions(QMainWindow.AllowNestedDocks|QMainWindow.AllowTabbedDocks)
        self.centralWidget = QWidget(history)
        self.centralWidget.setObjectName(u"centralWidget")
        self.centralWidget.setStyleSheet(u"QWidget {\n"
"    background: transparent;\n"
"}")
        self.mainLayout = QVBoxLayout(self.centralWidget)
        self.mainLayout.setSpacing(5)
        self.mainLayout.setContentsMargins(11, 11, 11, 11)
        self.mainLayout.setObjectName(u"mainLayout")
        self.mainLayout.setContentsMargins(10, 5, 10, 10)
        self.filterLayout = QHBoxLayout()
        self.filterLayout.setSpacing(15)
        self.filterLayout.setObjectName(u"filterLayout")
        self.searchLabel = QLabel(self.centralWidget)
        self.searchLabel.setObjectName(u"searchLabel")
        font = QFont()
        font.setFamilies([u"\u5fae\u8f6f\u96c5\u9ed1"])
        font.setPointSize(12)
        font.setBold(False)
        self.searchLabel.setFont(font)

        self.filterLayout.addWidget(self.searchLabel)

        self.searchLineEdit = QLineEdit(self.centralWidget)
        self.searchLineEdit.setObjectName(u"searchLineEdit")
        self.searchLineEdit.setMinimumSize(QSize(300, 30))

        self.filterLayout.addWidget(self.searchLineEdit)

        self.statusLabel = QLabel(self.centralWidget)
        self.statusLabel.setObjectName(u"statusLabel")
        self.statusLabel.setFont(font)

        self.filterLayout.addWidget(self.statusLabel)

        self.statusComboBox = QComboBox(self.centralWidget)
        self.statusComboBox.addItem("")
        self.statusComboBox.addItem("")
        self.statusComboBox.addItem("")
        self.statusComboBox.addItem("")
        self.statusComboBox.setObjectName(u"statusComboBox")
        self.statusComboBox.setMinimumSize(QSize(120, 34))
        self.statusComboBox.setStyleSheet(u"background-color: #191c32;\n"
"selection-background-color: #0f3460;\n"
"border: 1px solid rgba(255, 255, 255, 0.3);")

        self.filterLayout.addWidget(self.statusComboBox)

        self.horizontalSpacer = QSpacerItem(40, 20, QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Minimum)

        self.filterLayout.addItem(self.horizontalSpacer)

        self.btn_ok = QPushButton(self.centralWidget)
        self.btn_ok.setObjectName(u"btn_ok")
        self.btn_ok.setMinimumSize(QSize(80, 42))
        self.btn_ok.setStyleSheet(u"QPushButton {\n"
"    background-color: #4ca1af;\n"
"    border: 1px solid #4ca1af;\n"
"    border-radius: 8px;\n"
"    color: white;\n"
"    font-size: 14px;\n"
"    font-weight: bold;\n"
"    padding: 10px 20px;\n"
"}\n"
"QPushButton:hover {\n"
"    background-color: #357f89;\n"
"    border: 1px solid #357f89;\n"
"}\n"
"QPushButton:pressed {\n"
"    background-color: #2a6670;\n"
"}")

        self.filterLayout.addWidget(self.btn_ok)

        self.btn_refresh = QPushButton(self.centralWidget)
        self.btn_refresh.setObjectName(u"btn_refresh")
        self.btn_refresh.setMinimumSize(QSize(80, 42))
        self.btn_refresh.setStyleSheet(u"QPushButton {\n"
"    background-color: #4ca1af;\n"
"    border: 1px solid #4ca1af;\n"
"    border-radius: 8px;\n"
"    color: white;\n"
"    font-size: 14px;\n"
"    font-weight: bold;\n"
"    padding: 10px 20px;\n"
"}\n"
"QPushButton:hover {\n"
"    background-color: #357f89;\n"
"    border: 1px solid #357f89;\n"
"}\n"
"QPushButton:pressed {\n"
"    background-color: #2a6670;\n"
"}")

        self.filterLayout.addWidget(self.btn_refresh)


        self.mainLayout.addLayout(self.filterLayout)

        self.historyTableWidget = QTableWidget(self.centralWidget)
        if (self.historyTableWidget.columnCount() < 6):
            self.historyTableWidget.setColumnCount(6)
        __qtablewidgetitem = QTableWidgetItem()
        self.historyTableWidget.setHorizontalHeaderItem(0, __qtablewidgetitem)
        __qtablewidgetitem1 = QTableWidgetItem()
        self.historyTableWidget.setHorizontalHeaderItem(1, __qtablewidgetitem1)
        __qtablewidgetitem2 = QTableWidgetItem()
        self.historyTableWidget.setHorizontalHeaderItem(2, __qtablewidgetitem2)
        __qtablewidgetitem3 = QTableWidgetItem()
        self.historyTableWidget.setHorizontalHeaderItem(3, __qtablewidgetitem3)
        __qtablewidgetitem4 = QTableWidgetItem()
        self.historyTableWidget.setHorizontalHeaderItem(4, __qtablewidgetitem4)
        __qtablewidgetitem5 = QTableWidgetItem()
        self.historyTableWidget.setHorizontalHeaderItem(5, __qtablewidgetitem5)
        self.historyTableWidget.setObjectName(u"historyTableWidget")
        self.historyTableWidget.setAlternatingRowColors(True)
        self.historyTableWidget.setSelectionBehavior(QAbstractItemView.SelectRows)
        self.historyTableWidget.setSortingEnabled(True)
        self.historyTableWidget.setCornerButtonEnabled(False)
        self.historyTableWidget.horizontalHeader().setCascadingSectionResizes(False)
        self.historyTableWidget.horizontalHeader().setStretchLastSection(True)

        self.mainLayout.addWidget(self.historyTableWidget)

        self.bottomLayout = QHBoxLayout()
        self.bottomLayout.setSpacing(15)
        self.bottomLayout.setObjectName(u"bottomLayout")
        self.totalLabel = QLabel(self.centralWidget)
        self.totalLabel.setObjectName(u"totalLabel")
        font1 = QFont()
        font1.setFamilies([u"\u5fae\u8f6f\u96c5\u9ed1"])
        font1.setPointSize(11)
        font1.setBold(False)
        self.totalLabel.setFont(font1)

        self.bottomLayout.addWidget(self.totalLabel)

        self.horizontalSpacer_2 = QSpacerItem(40, 20, QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Minimum)

        self.bottomLayout.addItem(self.horizontalSpacer_2)

        self.btn_clear = QPushButton(self.centralWidget)
        self.btn_clear.setObjectName(u"btn_clear")
        self.btn_clear.setMinimumSize(QSize(80, 42))
        self.btn_clear.setSizeIncrement(QSize(0, 80))
        self.btn_clear.setStyleSheet(u"QPushButton {\n"
"    background-color: #ff6b6b;\n"
"    border: 1px solid #ff5252;\n"
"    border-radius: 8px;\n"
"    color: white;\n"
"    font-size: 14px;\n"
"    font-weight: bold;\n"
"    padding: 10px 20px;\n"
"}\n"
"QPushButton:hover {\n"
"    background-color: #ff5252;\n"
"    border: 1px solid #f44336;\n"
"}\n"
"QPushButton:pressed {\n"
"    background-color: #f44336;\n"
"}")

        self.bottomLayout.addWidget(self.btn_clear)

        self.btn_close = QPushButton(self.centralWidget)
        self.btn_close.setObjectName(u"btn_close")
        self.btn_close.setMinimumSize(QSize(80, 42))
        self.btn_close.setStyleSheet(u"QPushButton {\n"
"    background-color: #4ca1af;\n"
"    border: 1px solid #4ca1af;\n"
"    border-radius: 8px;\n"
"    color: white;\n"
"    font-size: 14px;\n"
"    font-weight: bold;\n"
"    padding: 10px 20px;\n"
"}\n"
"QPushButton:hover {\n"
"    background-color: #357f89;\n"
"    border: 1px solid #357f89;\n"
"}\n"
"QPushButton:pressed {\n"
"    background-color: #2a6670;\n"
"}")

        self.bottomLayout.addWidget(self.btn_close)


        self.mainLayout.addLayout(self.bottomLayout)

        history.setCentralWidget(self.centralWidget)
        self.topDockWidget = QDockWidget(history)
        self.topDockWidget.setObjectName(u"topDockWidget")
        self.topDockWidget.setFeatures(QDockWidget.NoDockWidgetFeatures)
        self.topDockWidget.setAllowedAreas(Qt.TopDockWidgetArea)
        self.topDockWidgetContents = QWidget()
        self.topDockWidgetContents.setObjectName(u"topDockWidgetContents")
        self.topDockWidgetContents.setStyleSheet(u"QWidget {\n"
"    background: transparent;\n"
"}")
        self.topLayout = QHBoxLayout(self.topDockWidgetContents)
        self.topLayout.setSpacing(10)
        self.topLayout.setContentsMargins(11, 11, 11, 11)
        self.topLayout.setObjectName(u"topLayout")
        self.topLayout.setContentsMargins(20, 10, 20, 10)
        self.titleLabel = QLabel(self.topDockWidgetContents)
        self.titleLabel.setObjectName(u"titleLabel")
        font2 = QFont()
        font2.setFamilies([u"\u5fae\u8f6f\u96c5\u9ed1"])
        font2.setPointSize(22)
        font2.setBold(True)
        self.titleLabel.setFont(font2)
        self.titleLabel.setStyleSheet(u"QLabel {\n"
"    color: white;\n"
"    background: transparent;\n"
"}")
        self.titleLabel.setAlignment(Qt.AlignCenter)

        self.topLayout.addWidget(self.titleLabel)

        self.topDockWidget.setWidget(self.topDockWidgetContents)
        history.addDockWidget(Qt.DockWidgetArea.TopDockWidgetArea, self.topDockWidget)

        self.retranslateUi(history)

        QMetaObject.connectSlotsByName(history)
    # setupUi

    def retranslateUi(self, history):
        history.setWindowTitle(QCoreApplication.translate("history", u"YouTube \u89c6\u9891\u4e0b\u8f7d\u5668 - \u5386\u53f2\u8bb0\u5f55", None))
        self.searchLabel.setText(QCoreApplication.translate("history", u"\u641c\u7d22:", None))
        self.searchLineEdit.setPlaceholderText(QCoreApplication.translate("history", u"\u8f93\u5165URL\u3001\u6587\u4ef6\u540d\u6216\u72b6\u6001\u8fdb\u884c\u641c\u7d22...", None))
        self.statusLabel.setText(QCoreApplication.translate("history", u"\u72b6\u6001:", None))
        self.statusComboBox.setItemText(0, QCoreApplication.translate("history", u"\u5168\u90e8\u72b6\u6001", None))
        self.statusComboBox.setItemText(1, QCoreApplication.translate("history", u"\u4e0b\u8f7d\u6210\u529f", None))
        self.statusComboBox.setItemText(2, QCoreApplication.translate("history", u"\u4e0b\u8f7d\u5931\u8d25", None))
        self.statusComboBox.setItemText(3, QCoreApplication.translate("history", u"\u4e0b\u8f7d\u4e2d", None))

        self.btn_ok.setText(QCoreApplication.translate("history", u"\u786e\u5b9a", None))
        self.btn_refresh.setText(QCoreApplication.translate("history", u"\u5237\u65b0", None))
        ___qtablewidgetitem = self.historyTableWidget.horizontalHeaderItem(0)
        ___qtablewidgetitem.setText(QCoreApplication.translate("history", u"URL\u5730\u5740", None));
        ___qtablewidgetitem1 = self.historyTableWidget.horizontalHeaderItem(1)
        ___qtablewidgetitem1.setText(QCoreApplication.translate("history", u"\u5f00\u59cb\u65f6\u95f4", None));
        ___qtablewidgetitem2 = self.historyTableWidget.horizontalHeaderItem(2)
        ___qtablewidgetitem2.setText(QCoreApplication.translate("history", u"\u4e0b\u8f7d\u72b6\u6001", None));
        ___qtablewidgetitem3 = self.historyTableWidget.horizontalHeaderItem(3)
        ___qtablewidgetitem3.setText(QCoreApplication.translate("history", u"\u6587\u4ef6\u540d\u79f0", None));
        ___qtablewidgetitem4 = self.historyTableWidget.horizontalHeaderItem(4)
        ___qtablewidgetitem4.setText(QCoreApplication.translate("history", u"\u5b58\u50a8\u8def\u5f84", None));
        ___qtablewidgetitem5 = self.historyTableWidget.horizontalHeaderItem(5)
        ___qtablewidgetitem5.setText(QCoreApplication.translate("history", u"\u64cd\u4f5c", None));
        self.totalLabel.setText(QCoreApplication.translate("history", u"\u603b\u8ba1: 0 \u6761\u8bb0\u5f55", None))
        self.btn_clear.setText(QCoreApplication.translate("history", u"\u6e05\u7a7a", None))
        self.btn_close.setText(QCoreApplication.translate("history", u"\u5173\u95ed", None))
        self.topDockWidget.setWindowTitle("")
        self.titleLabel.setText(QCoreApplication.translate("history", u"YouTube \u89c6\u9891\u4e0b\u8f7d\u5386\u53f2\u8bb0\u5f55", None))
    # retranslateUi

